package com.masterclient.app.modules.coupon.beans;

import java.util.List;

/**
 * 作者：sean
 * 创建时间：2017/8/4 17:15
 * 功能说明：
 */

public class CouponBean {


    /**
     * code : 0
     * msg : success
     * data : {"sh_total_rows":1,"sh_items":[{"sh_id":4,"sh_num":3,"sh_use_num":3,"sh_name":"订单优惠券测试满50减15","sh_simple_action":"by_fixed","sh_discount_amount":15,"sh_description":"订单优惠券测试满50减15订单优惠券测试满50减15订单优惠券测试满50减15","sh_short_description":"订单优惠券测试满50减15","sh_start_at":"2017-08-01","sh_end_at":"2017-08-05"}]}
     * args : {"cart_num":0,"is_vip":0}
     */

    private String code;
    private String msg;
    private DataBean data;
    private ArgsBean args;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public ArgsBean getArgs() {
        return args;
    }

    public void setArgs(ArgsBean args) {
        this.args = args;
    }

    public static class DataBean {
        /**
         * sh_total_rows : 1
         * sh_items : [{"sh_id":4,"sh_num":3,"sh_use_num":3,"sh_name":"订单优惠券测试满50减15","sh_simple_action":"by_fixed","sh_discount_amount":15,"sh_description":"订单优惠券测试满50减15订单优惠券测试满50减15订单优惠券测试满50减15","sh_short_description":"订单优惠券测试满50减15","sh_start_at":"2017-08-01","sh_end_at":"2017-08-05"}]
         */

        private String sh_total_rows;
        private List<ShItemsBean> sh_items;

        public String getSh_total_rows() {
            return sh_total_rows;
        }

        public void setSh_total_rows(String sh_total_rows) {
            this.sh_total_rows = sh_total_rows;
        }

        public List<ShItemsBean> getSh_items() {
            return sh_items;
        }

        public void setSh_items(List<ShItemsBean> sh_items) {
            this.sh_items = sh_items;
        }

        public static class ShItemsBean {
            /**
             * sh_id : 4
             * sh_num : 3
             * sh_use_num : 3
             * sh_name : 订单优惠券测试满50减15
             * sh_simple_action : by_fixed
             * sh_discount_amount : 15
             * sh_description : 订单优惠券测试满50减15订单优惠券测试满50减15订单优惠券测试满50减15
             * sh_short_description : 订单优惠券测试满50减15
             * sh_start_at : 2017-08-01
             * sh_end_at : 2017-08-05
             */

            private String sh_id;
            private String sh_num;
            private String sh_use_num;
            private String sh_name;
            private String sh_simple_action;
            private String sh_discount_amount;
            private String sh_description;
            private String sh_short_description;
            private String sh_start_at;
            private String sh_end_at;
            private String sh_allow_additional_discount;
            private String sh_redirect_attribute;
            private String sh_redirectId;
            private boolean isExpanded;
            private String detail_desc,valid_days,description,target,target_val;

            public String getTarget() {
                return target;
            }

            public void setTarget(String target) {
                this.target = target;
            }

            public String getTarget_val() {
                return target_val;
            }

            public void setTarget_val(String target_val) {
                this.target_val = target_val;
            }

            public String getDetailDesc() {
                return detail_desc;
            }

            public void setDetailDesc(String detail_desc) {
                this.detail_desc = detail_desc;
            }

            public String getValidDays() {
                return valid_days;
            }

            public void setValidDays(String valid_days) {
                this.valid_days = valid_days;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public boolean isExpanded() {
                return isExpanded;
            }

            public void setIsExpanded(boolean isExpanded) {
                this.isExpanded = isExpanded;
            }

            public String getSh_redirect_attribute() {
                return sh_redirect_attribute;
            }

            public void setSh_redirect_attribute(String sh_redirect_attribute) {
                this.sh_redirect_attribute = sh_redirect_attribute;
            }

            public String getSh_redirectId() {
                return sh_redirectId;
            }

            public void setSh_redirectId(String sh_redirectId) {
                this.sh_redirectId = sh_redirectId;
            }

            public String getSh_allow_additional_discount() {
                return sh_allow_additional_discount;
            }

            public void setSh_allow_additional_discount(String sh_allow_additional_discount) {
                this.sh_allow_additional_discount = sh_allow_additional_discount;
            }

            public String getSh_id() {
                return sh_id;
            }

            public void setSh_id(String sh_id) {
                this.sh_id = sh_id;
            }

            public String getSh_num() {
                return sh_num;
            }

            public void setSh_num(String sh_num) {
                this.sh_num = sh_num;
            }

            public String getSh_use_num() {
                return sh_use_num;
            }

            public void setSh_use_num(String sh_use_num) {
                this.sh_use_num = sh_use_num;
            }

            public String getSh_name() {
                return sh_name;
            }

            public void setSh_name(String sh_name) {
                this.sh_name = sh_name;
            }

            public String getSh_simple_action() {
                return sh_simple_action;
            }

            public void setSh_simple_action(String sh_simple_action) {
                this.sh_simple_action = sh_simple_action;
            }

            public String getSh_discount_amount() {
                return sh_discount_amount;
            }

            public void setSh_discount_amount(String sh_discount_amount) {
                this.sh_discount_amount = sh_discount_amount;
            }

            public String getSh_description() {
                return sh_description;
            }

            public void setSh_description(String sh_description) {
                this.sh_description = sh_description;
            }

            public String getSh_short_description() {
                return sh_short_description;
            }

            public void setSh_short_description(String sh_short_description) {
                this.sh_short_description = sh_short_description;
            }

            public String getSh_start_at() {
                return sh_start_at;
            }

            public void setSh_start_at(String sh_start_at) {
                this.sh_start_at = sh_start_at;
            }

            public String getSh_end_at() {
                return sh_end_at;
            }

            public void setSh_end_at(String sh_end_at) {
                this.sh_end_at = sh_end_at;
            }
        }
    }

    public static class ArgsBean {
        /**
         * cart_num : 0
         * is_vip : 0
         */

        private String cart_num;
        private String is_vip;

        public String getCart_num() {
            return cart_num;
        }

        public void setCart_num(String cart_num) {
            this.cart_num = cart_num;
        }

        public String getIs_vip() {
            return is_vip;
        }

        public void setIs_vip(String is_vip) {
            this.is_vip = is_vip;
        }
    }
}
